<%@page import="helpers.UrlHelper"%>
<%@page import="models.Domain"%>
<%@page import="java.util.ArrayList"%>
<%@page import="models.RecentSite"%>
<%@page import="helpers.HeaderHelper"%>
<%
	HeaderHelper headerHelper = (HeaderHelper) request.getAttribute("headerHelper");
	String success = (String) request.getAttribute("success");
	String[] check = (String[]) request.getAttribute("check");
	String serverUrl = UrlHelper.getServerUrl(request);
%>
<jsp:include page="/layouts/header.jsp">
    <jsp:param name="title" value="<%=headerHelper.getTitle()%>" />
    <jsp:param name="description" value="<%=headerHelper.getDescription()%>" />
    <jsp:param name="keywords" value="<%=headerHelper.getKeywords()%>" />
    <jsp:param name="ogite_name" value="<%=headerHelper.getOgite_name()%>" />
    <jsp:param name="ogtitle" value="<%=headerHelper.getOgtitle()%>" />
    <jsp:param name="ogurl" value="<%=headerHelper.getOgurl()%>" />
    <jsp:param name="ogimage" value="<%=headerHelper.getOgimage()%>" />
    <jsp:param name="ogescription" value="<%=headerHelper.getOgescription()%>" />
</jsp:include>
<script type="text/javascript">
<!--
	$(document).ready(function () {
		$(".head-nav li").removeClass("selected");
	});
//-->
</script>
		<!-- 2. content -->
		<div id="content">
			<!-- 3. block -->
			<div class="block static">
				<h1>Contact Us</h1>
				
				If you have any questions, or comments and suggestions, please use the form below to contact us. Or you can mail to contact [at] <%=serverUrl.replace("http://", "").replace("www.", "") %>.
				<br/><br/>
				
				<%=(success != null)?"<p style='color:blue;'>"+success+"</p>":"" %>
				
				<form action="/c" method="post" class="send-mail">
					Your name :
					<%=(check[0] != null)?"<p style='color:red;'>"+check[0]+"</p>":"<br />" %>
					<input  type="text" name="name"/><br />
					Your email :
					<%=(check[1] != null)?"<p style='color:red;'>"+check[1]+"</p>":"<br />" %>
					<input  type="text" name="email"/><br />
					Message :
					<%=(check[2] != null)?"<p style='color:red;'>"+check[2]+"</p>":"<br />" %>
					<textarea name="message"></textarea><br/>
					<%=(check[3] != null)?"<p style='color:red;'>"+check[3]+"</p>":"<br />" %>
					
					<script>
			        	var RecaptchaOptions = { theme : 'clean' };
			  		</script>

					<script type="text/javascript" src="http://api.recaptcha.net/challenge?k=6LdT6tASAAAAAFhJOnRk_Jt-NTdlfHkDLmV7nYXo"></script>
					<br/>
					<button type="submit">Send</button>
				</form>
			</div>
		</div>
		<!-- 2. end content -->
		
		<!-- 2. side -->
		<div id="side">
			<!-- 3. block -->
			<div class="block">
				<script type="text/javascript"><!--
				google_ad_client = "ca-pub-1271973886625217";
				/* domainworlds 300x250 */
				google_ad_slot = "8080276388";
				google_ad_width = 300;
				google_ad_height = 250;
				//-->
				</script>
				<script type="text/javascript"
				src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
				</script>
			</div>
			<!-- 3. end block -->
		
			<!-- 3. block -->
			<div class="block">
				<script type="text/javascript"><!--
				google_ad_client = "ca-pub-1271973886625217";
				/* domainworlds 300x250 */
				google_ad_slot = "8080276388";
				google_ad_width = 300;
				google_ad_height = 250;
				//-->
				</script>
				<script type="text/javascript"
				src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
				</script>
			</div>
			<!-- 3. end block -->
		</div>
		<!-- 2. end side -->
		
		<div class="clear"></div>

<jsp:include page="/layouts/footer.jsp">
    <jsp:param name="language" value="1" />
</jsp:include>